﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ChinaDynastyTours.Controls;

namespace ChinaDynastyTours.Views
{
    public partial class RoomRemarkForm : DevExpress.XtraEditors.XtraForm
    {
        private string _TourgroupID;
        public RoomRemarkForm(string tourgroupId)
        {
            InitializeComponent();
            _TourgroupID = tourgroupId;
            mbRoomRemark.Text = TeamGroupCtrl.GetTeamGroupRoomRemark(tourgroupId);
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            TeamGroupCtrl.UpdateTourGroupRoomRemark(_TourgroupID, mbRoomRemark.Text);
            DialogResult = DialogResult.OK;
        }
    }
}
